<?
$geturl="http://".$_GET['url']."/game?game=102";
$q = $_GET['q'];
$backurl=urlencode($geturl);
$a=file_get_contents('http://sg.9wee.com/game_login_select.html');
$arr=explode('</body>',$a);
$header=str_replace('.sg.9wee.com',".sg.9wee.com/index.php?q=$q&backurl=$backurl",$arr[0]);
$list=$header.'</body>'.$arr[1];
echo $list;
?>
